<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>联系方式 - 我的个人博客</title>
    <style>
        /* 初始加载样式 */
        body {
            visibility: visible;
            opacity: 1;
        }
        .page-loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--bg-color, #fff);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.3s ease;
        }
        .page-loading.hidden {
            opacity: 0;
            pointer-events: none;
        }
    </style>
    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" href="assets/css/contact.css">
</head>
<body>
    <div class="page-loading">
        <div class="loading-spinner"></div>
    </div>
    <header>
        <nav class="main-nav">
            <div class="logo">
                <h1><a href="index.html">我的博客</a></h1>
            </div>
            <ul class="nav-menu">
                <li class="nav-item">
                    <a href="frontend.html" class="nav-link">技术分享</a>
                    <ul class="submenu">
                        <li><a href="frontend.html">前端开发</a></li>
                        <li><a href="backend.html">后端开发</a></li>
                        <li><a href="tools.html">开发工具</a></li>
                    </ul>
                </li>
                <li class="nav-item">
                    <a href="travel.html" class="nav-link">生活随笔</a>
                    <ul class="submenu">
                        <li><a href="travel.html">旅行日记</a></li>
                        <li><a href="food.html">美食推荐</a></li>
                    </ul>
                </li>
                <li class="nav-item">
                    <a href="profile.html" class="nav-link">关于我</a>
                    <ul class="submenu">
                        <li><a href="profile.html">个人简介</a></li>
                        <li><a href="contact.html">联系方式</a></li>
                    </ul>
                </li>
            </ul>
            <button id="theme-toggle" class="theme-toggle">
                <span class="light-icon">☀️</span>
                <span class="dark-icon">🌙</span>
            </button>
        </nav>
    </header>

    <main>
        <div class="contact-container">
            <section class="contact-info">
                <h2>联系我</h2>
                <p>如果您有任何问题或建议，欢迎通过以下方式与我联系：</p>
                
                <div class="contact-methods">
                    <div class="contact-method">
                        <i class="contact-icon email-icon">📧</i>
                        <div class="contact-details">
                            <h3>电子邮件</h3>
                            <p>example@email.com</p>
                        </div>
                    </div>
                    
                    <div class="contact-method">
                        <i class="contact-icon wechat-icon">💬</i>
                        <div class="contact-details">
                            <h3>微信</h3>
                            <p>WeChat_ID</p>
                            <img src="https://picsum.photos/150/150" alt="微信二维码" class="qr-code">
                        </div>
                    </div>
                    
                    <div class="contact-method">
                        <i class="contact-icon github-icon">🐱</i>
                        <div class="contact-details">
                            <h3>GitHub</h3>
                            <a href="https://github.com/yourusername" target="_blank">@yourusername</a>
                        </div>
                    </div>
                </div>
            </section>

            <section class="contact-form">
                <h2>发送消息</h2>
                <form id="messageForm">
                    <div class="form-group">
                        <label for="name">您的姓名</label>
                        <input type="text" id="name" name="name" required>
                    </div>
                    
                    <div class="form-group">
                        <label for="email">电子邮件</label>
                        <input type="email" id="email" name="email" required>
                    </div>
                    
                    <div class="form-group">
                        <label for="subject">主题</label>
                        <input type="text" id="subject" name="subject" required>
                    </div>
                    
                    <div class="form-group">
                        <label for="message">消息内容</label>
                        <textarea id="message" name="message" rows="6" required></textarea>
                    </div>
                    
                    <button type="submit" class="submit-btn">发送消息</button>
                </form>
            </section>
        </div>

        <section class="social-media">
            <h2>社交媒体</h2>
            <div class="social-links">
                <a href="#" class="social-link weibo">
                    <i class="social-icon">🔥</i>
                    <span>微博</span>
                </a>
                <a href="#" class="social-link zhihu">
                    <i class="social-icon">❓</i>
                    <span>知乎</span>
                </a>
                <a href="#" class="social-link bilibili">
                    <i class="social-icon">📺</i>
                    <span>哔哩哔哩</span>
                </a>
                <a href="#" class="social-link juejin">
                    <i class="social-icon">📚</i>
                    <span>掘金</span>
                </a>
            </div>
        </section>
    </main>

    <footer>
        <p>&copy; 2024 我的个人博客. All rights reserved.</p>
    </footer>
    <script src="assets/js/jquery.js"></script>
    <script src="assets/js/main.js"></script>
    <script src="assets/js/contact.js"></script>
</body>
</html> 